﻿using Microsoft.Extensions.Hosting;
using Storage.Aliyun;
using Storage.Aliyun.Extensions;
using System;

namespace NetCore.App
{
    class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
            .ConfigureServices((hostContext,services)=> {
                services.AddAliyun();
            });
    }
}
